Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / DataStream Class / Write Method / Write<T>(T) Method
The type of the value to be written to the stream.
The value to write to the stream.

In This Topic
    Write<T>(T) Method
    In This Topic
    Writes a single value to the stream, and advances the current position within this stream by the number of bytes written.
    Syntax
    'Declaration
     
    Public Overloads Sub Write(Of T As {New, Struct})( _
       ByVal value As T _
    ) 
    public void Write<T>( 
       T value
    )
    where T: new(), struct

    Parameters

    value
    The value to write to the stream.

    Type Parameters

    T
    The type of the value to be written to the stream.
    Exceptions
    ExceptionDescription
    The stream does not support writing.
    Remarks
    In order to provide faster read/write, this operation doesn't check stream bound. A client must carefully not read/write above the size of this datastream.
    See Also